home *** CD-ROM | disk | FTP | other *** search
/ Galleria D'arte: Manet / Manet.iso / Dati / Main.dxr / 00002_go to the frame & suono.ls < prev    next >
Encoding:
Text File  |  2000-12-21  |  648 b   |  32 lines

  1. on exitFrame
  2.   global gSuonoAttivo
  3.   if gSuonoAttivo = 1 then
  4.     if soundBusy(1) then
  5.       sound stop 3
  6.     else
  7.       if (soundBusy(3) = 0) and (the frame > 2) then
  8.         tmp = random(10)
  9.         puppetSound(3, "boucle" & tmp)
  10.       end if
  11.     end if
  12.   end if
  13.   go(the frame)
  14. end
  15.  
  16. on mouseUp
  17.   global finestra
  18.   if the doubleClick then
  19.     if the runMode = "author" then
  20.       moveToFront(window(finestra))
  21.     end if
  22.   end if
  23. end
  24.  
  25. on keyDown
  26.   if the controlDown and keyPressed("a") and keyPressed("v") and keyPressed("p") and keyPressed("m") then
  27.     vPopupWin = window("popup")
  28.     vPopupWin.windowType = 2
  29.     open(vPopupWin)
  30.   end if
  31. end
  32.